package com.scaffold.manager;

import com.scaffold.model.domain.UserDO;
import com.scaffold.model.param.UserListParam;

import java.util.List;

/**
 * @author Da Shuai
 * @since 2021-08-21 16:18:52
 */
public interface UserManager {

    void saveUser(UserDO user);

    void deleteUserById(Long id);

    void updateUser(UserDO user);

    UserDO getUserById(Long id);

    UserDO getUserIncludeDeleteById(Long id);

    List<UserDO> listUser(UserListParam param);
}
